import { request } from '../tools/request';

module.exports = (query: { [key: string]: any }) => {
    const { post_id, page_no, page_size, doc } = query;

    return request('post/detail/ANDROID/2.3', 'get', {
        platform: 2,
        post_id: post_id,
        page_no: page_no || 1,
        page_size: page_size || 20,
        doc: 1
    });
}